#!/usr/bin/env python
# -*- coding: utf-8 -*-
from flask import Flask
from .auth import auth_bp
from .transactions import trans_bp
from .terminals import terminal_bp

def init_register_views(app: Flask):
    """注册蓝图"""
    for blueprint in [auth_bp, trans_bp, terminal_bp]:
        app.register_blueprint(blueprint)